package ProgramLogic;
import java.io.Serializable;

public class Contact implements Serializable {
    static final long serialVersionUID = 1L;
    private String name;
    private String vorname;
    private String notiz;

    public Contact(String name, String vorname, String notiz) {
	this.setName(name);
	this.setVorname(vorname);
	this.setNotiz(notiz);
    }

    public String getName() {
	return name;
    }

    public void setName(String name) {
	this.name = name;
    }

    public String getVorname() {
	return vorname;
    }

    public void setVorname(String vorname) {
	this.vorname = vorname;
    }

    public String getNotiz() {
	return notiz;
    }

    public void setNotiz(String notiz) {
	this.notiz = notiz;
    }

    public String toString() {
	return "Contact: " + getName() + "\n";
    }

}
